package com.damai.pay;

import com.damai.entity.PayBill;

import java.math.BigDecimal;
import java.util.Map;


public interface PayStrategyHandler {
    
    PayResult pay(String outTradeNo, BigDecimal price, String subject, String notifyUrl, String returnUrl);
    
    
    boolean signVerify(Map<String, String> params);
    
    
    boolean dataVerify(Map<String, String> params, PayBill payBill);
    
    
    TradeResult queryTrade(String outTradeNo);
    
    
    RefundResult refund(String outTradeNo, BigDecimal price, String reason);
    
    
    String getChannel();
}
